import { createRouter, createWebHashHistory } from "vue-router";
const router = createRouter({
    history: createWebHashHistory(),
    routes: [{
        path: '/',
        name: 'home',
        component: () =>
            import("../views/home.vue"),
        children: [
            {
                path: '/list',
                name: 'list',
                component: () =>
                    import("../views/list.vue")
            },
            {
                path: '/model',
                name: 'model',
                component: () =>
                    import("../views/model.vue"),
                children: [
                    {
                        path: '/unread',
                        name: 'unread',
                        component: () =>
                            import("../views/unread.vue")
                    },
                    {
                        path: '/read',
                        name: 'read',
                        component: () =>
                            import("../views/read.vue")
                    },
                    {
                        path: '/recycle',
                        name: 'recycle',
                        component: () =>
                            import("../views/recycle.vue")
                    },
               ]
            },
            {
                path: '/Alist',
                name: 'Alist',
                component: () =>
                    import("../views/A卷.vue")
            },
        ]
    },
   
    ]
})
export default router